#!/usr/bin/env ruby
require 'rubygems'
require 'simple-rss'
require 'open-uri'

url = ARGV[0]
rss = SimpleRSS.parse(open(url).read)
rss.channel.items.each do |i|
  puts "*" + i.title + " [" + i.published.to_s + "]"
end
